var ligerGrid;

// var ligerGrid = $("#"+ queryKey).ligerGetGridManager();

$(function() {
			var options = {
				queryKey : queryKey,
				pageSize : 30,
				gridWidth : null,
				gridHeight : 580,
				showIdx : false,
				gridRender : function(grid) {
					ligerGrid = grid;
				}
			};
			var gridPanel = new $.grooveQuery(options);

			$("#pageloading").hide();
		});

function defaultFnRender(rowdata, rowindex, value, column) {
	if (column.name == "ID_PREPAYMENTDATE") {
		return formatDate(value);
	} else if (column.name == "SP") {
		return "<a href=\"javascript:void(0);\" onclick=\"javascript:paymentView('"
				+ value + "');\">支付</a>";
	}
	return value;
}

function paymentView(id) {
	document.location = context + "/site/focalCompany/12-1.jsp?id=" + id;
}